<script setup>
defineProps({
  job_num: {
    type: String
  }
})
</script>

<template>
  <div class="company-tab">
    <ul>
      <li><RouterLink to="/CompanyInfo">公司简介</RouterLink></li>
      <li>
        <RouterLink to="/CompanyJobInfo">职位招聘({{ job_num }})</RouterLink>
      </li>
    </ul>
  </div>
</template>

<style lang="scss" scoped>
.company-tab {
  width: 1200px;
  margin: 16px auto 0;
  background: #fff;
  border-radius: 12px;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  ul {
    display: flex;
    padding-left: 20px;
    position: relative;
    z-index: 998;
    li {
      margin-right: 40px;
      width: auto;
      text-align: center;
      a {
        font-size: 16px;
        line-height: 32px;
        height: 40px;
        display: inline-block;

        &:hover {
          color: $xtxColor;
          border-bottom: 1px solid $xtxColor;
        }
      }

      .active {
        color: $xtxColor;
        border-bottom: 1px solid $xtxColor;
      }
    }
  }
}
</style>
